﻿<%@ Page Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="testonline.aspx.cs" ValidateRequest="false" Inherits="testonline" Title="Test Online" %>

<asp:Content ContentPlaceHolderID="head" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <div>
        <asp:Timer ID="mTimer" runat="server" Interval="1000" ontick="mTimer_Tick">
        </asp:Timer>
    </div>
    <fieldset>
        <legend style="font-size:15px;color:#F00">Test Online</legend>
        <div style="height:50px">
            <div style="font-size:15px;padding:10px 0 10px 0;float:left">
                Exam Test : <asp:Label ID="lbl_examcode" style="color:#00F" runat="server" Text="Label"></asp:Label>
            </div>
            <div style="float:right">
                <asp:Button ID="btn_completed" class="btnWhite" runat="server" Text="Completed" Enabled="false" onclick="btn_completed_Click" />
                <asp:Button ID="btn_begin" class="btnWhite" runat="server" Text="Begin" onclick="btn_begin_Click" />
            </div>
        </div>
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top" bgcolor="#e1e4e9" style="border-right:1px solid #CCC;padding:10px">
                    <div style="font-size:15px;height:20px">
                        <div style="color:#00F;float:left;width:200px">
                            <asp:Label ID="lbl_question" runat="server" Text="Question"></asp:Label>
                        </div>                        
                        <div style="float:left;color:#00F;width:200px">                            
                            <asp:UpdatePanel UpdateMode="Conditional" runat="server">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="mTimer" EventName="Tick" />
                                </Triggers>
                                <ContentTemplate>
                                    <asp:Label ID="lbl_runtime" runat="server" Visible="false" Text="Remaining time [ 29:59 ]"></asp:Label>
                                </ContentTemplate>
                            </asp:UpdatePanel>                            
                        </div>
                        <div style="float:left;color:#00F">
                            <asp:Label ID="lbl_results" runat="server" Text=""></asp:Label>
                        </div>
                    </div>                    
                    <div style="background:#FFF;border:1px solid #000;height:200px;margin-top:10px;font-weight:bold;font-size:15px;padding:10px">
                        <asp:Label ID="lbl_content_question" runat="server" Text=""></asp:Label>
                    </div>
                    <div style="padding:10px 0 10px 0"><b>Answer
                            <asp:RadioButton ID="rb_a" Text="A" runat="server" GroupName="test" 
                                Enabled="false" oncheckedchanged="rb_a_CheckedChanged" style="margin:0 10px 0 10px" />
                            <asp:RadioButton ID="rb_b" Text="B" runat="server" GroupName="test" Enabled="false" 
                                    oncheckedchanged="rb_b_CheckedChanged" style="margin-right:10px" />
                            <asp:RadioButton ID="rb_c" Text="C" runat="server" GroupName="test" 
                                Enabled="false" oncheckedchanged="rb_c_CheckedChanged" style="margin-right:10px" />
                            <asp:RadioButton ID="rb_d" Text="D" runat="server" GroupName="test" Enabled="false" 
                                    oncheckedchanged="rb_d_CheckedChanged" /></b>
                    </div>                    
                </td>
                <td width="200" valign="top" bgcolor="#e8eaed">
                    <asp:LinkButton ID="lbtn_ques_01" class="itemQues" runat="server" Enabled="false"
                        Text="Question 01" onclick="lbtn_ques_01_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_02" class="itemQues" runat="server" Enabled="false"
                        Text="Question 02" onclick="lbtn_ques_02_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_03" class="itemQues" runat="server" Enabled="false"
                        Text="Question 03" onclick="lbtn_ques_03_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_04" class="itemQues" runat="server" Enabled="false"
                        Text="Question 04" onclick="lbtn_ques_04_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_05" class="itemQues" runat="server" Enabled="false"
                        Text="Question 05" onclick="lbtn_ques_05_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_06" class="itemQues" runat="server" Enabled="false"
                        Text="Question 06" onclick="lbtn_ques_06_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_07" class="itemQues" runat="server" Enabled="false"
                        Text="Question 07" onclick="lbtn_ques_07_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_08" class="itemQues" runat="server" Enabled="false"
                        Text="Question 08" onclick="lbtn_ques_08_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_09" class="itemQues" runat="server" Enabled="false"
                        Text="Question 09" onclick="lbtn_ques_09_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lbtn_ques_10" class="itemQues" runat="server" Enabled="false"
                        Text="Question 10" onclick="lbtn_ques_10_Click"></asp:LinkButton>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>